package com.car.shopping.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 董旭
 * @since 2024-08-28
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("commodity_shouhou_log")
public class CommodityShouhouLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "commodity_log_id", type = IdType.AUTO)
    private Integer commodityLogId;

    @TableField("commodity_log_user_id")
    private Integer commodityLogUserId;

    @TableField("commodity_log_user_name")
    private byte[] commodityLogUserName;

    @TableField("commodity_log_time")
    private LocalDateTime commodityLogTime;

    /**
     * 1退货2换货
     */
    @TableField("commodity_log_returnid")
    private Integer commodityLogReturnid;

    /**
     * 1完成2失败3待处理
     */
    @TableField("commodity_log_state")
    private Integer commodityLogState;

    @TableField("commodity_log_completiontime")
    private LocalDateTime commodityLogCompletiontime;

    @TableField("commodity_id")
    private Integer commodityId;


}
